// [data-theme] {
@mixin wrap {
	margin: $margin-updown $margin-both;
	padding: $padding;
	border-radius: $border-radius;
	background: #fff;
	position: relative;
}
.address-wrap {
	@include wrap;
	min-height: 100rpx;

	.icon {
		position: absolute;

		margin-right: $margin-both;

		.iconfont {
			line-height: 50rpx;
			font-size: 28rpx;
		}
	}

	.address-info {
		padding-left: 40rpx;

		.info {
			display: flex;

			text {
				flex: 1;

				&:last-of-type {
					text-align: right;
				}
			}
		}

		.detail {
			line-height: 1.3;
			color: #999;
		}
	}


	.cell-more {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		right: 10rpx;

		.iconfont {
			color: #999;
		}
	}
}

.order-item {
	margin: $margin-updown $margin-both;
	padding: $padding;
	border-radius: $border-radius;
	background: #fff;
	position: relative;

	.order-body {
		.goods-wrap {
			margin-bottom: 20rpx;
			display: flex;
			position: relative;

			&:last-of-type {
				margin-bottom: 0;
			}

			.goods-img {
				width: 120rpx;
				height: 120rpx;
				padding: $padding 0 0;
				margin-right: 20rpx;

				image {
					width: 100%;
					height: 100%;
					border-radius: $border-radius;
				}
			}

			.goods-info {
				flex: 1;
				position: relative;
				padding: $padding 0 0;
				max-width: calc(100% - 140rpx);

				.goods-name {
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 2;
					overflow: hidden;
					line-height: 1.5;
					font-size: 28rpx;
				}

				.goods-sub-section {
					width: 100%;
					line-height: 1.3;
					display: flex;

					.goods-price {
						font-weight: 700;
						font-size: 15px;
					}

					.unit {
						font-weight: normal;
						font-size: $font-size-tag;
						margin-right: 2rpx;
					}

					view {
						flex: 1;
						line-height: 1.3;
						&:last-of-type {
							text-align: right;

							.iconfont {
								line-height: 1;
								font-size: 26rpx;
							}
						}
					}
				}
			}
		}
	}
}

.order-cell {
	display: flex;
	margin: $margin-updown 0;
	align-items: center;
	background: #fff;
	line-height: 40rpx;

	.tit {
		text-align: left;
	}

	.box {
		flex: 1;
		padding: 0 $padding;
		line-height: inherit;

		.textarea {
			height: 40rpx;
		}
	}

	.iconfont {
		color: #bbb;
		font-size: 28rpx;
	}

	.order-pay {
		padding: 0;

		text {
			display: inline-block;
			margin-left: 6rpx;
		}
	}
}

.order-summary {
	@include wrap;

	.order-cell {
		.tit {
			color: #999;
		}

		.box {
			display: flex;
			align-items: center;
		}

		.copy {
			font-size: 20rpx;
			display: inline-block;
			color: #666;
			background: #ddd;
			line-height: 1;
			padding: 6rpx 10rpx;
			margin-left: 10rpx;
			border-radius: 18rpx;
		}
	}

	.hr {
		width: calc(100% - 190rpx);
		margin-left: 190rpx;
		height: 1px;
		background: #f7f7f7;
	}
}
// }